#include <stdio.h>
void main(){
int c;
while (c=getchar()!='H') {
    printf("%c\t%4d\t%4x\n",c,c,c);
}
return;
}
